<template>
	<view>
		<uni-forms-item>
			<uni-easyinput type="textarea" v-model="postText" placeholder="请输入帖子内容" />
		</uni-forms-item>
		<uni-section title="只选择图片" type="line">
			<view class="example-body">
				<uni-file-picker limit="9" title="最多选择9张图片"></uni-file-picker>
			</view>
		</uni-section>
		<button class='submit-button' type="default" plain="true">提交</button>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				postText: ''
			};
		}
	}
</script>

<style lang="scss">
	.example-body {
		padding: 10px;
		padding-top: 0;
	}

	.submit-button {
		height: 90rpx;
		width: 90%;
		background: linear-gradient(110deg, #e45dff 0%, #d230ff 100%);
		border-radius: 20rpx;
		box-shadow: 0px 0px 8rpx 2rpx rgba(247, 171, 30, 0.81);
		display: flex;
		flex-direction: column;
		align-content: center;
		justify-content: center;
	}
</style>